// api接口
import Vue from 'vue'
import axios from 'axios'
import Qs from 'qs'
/* eslint-disable */

let api = {
  
  // 发送验证码
  getid(params) {
    console.log(process.env.VUE_APP_BASEURL)
    let postData = Qs.stringify(params)
    return Vue.axios.post(`${process.env.VUE_APP_BASEURL}/pocket/find_id`, postData)
  }
  
}

export default function (Vue) {
  Vue.prototype.$api = api
  Vue.prototype.$fetch = axios
}
